//
//  RempayCalculator.h
//  Rong360
//
//  Created by tianliwei on 16/2/14.
//  Copyright (c) 2014 tianliwei. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RempayCalculator : NSObject
@property (nonatomic, copy)NSString *loan; //贷款总额
@property (nonatomic, copy)NSString *deadline;//贷款期限
@property (nonatomic, copy)NSString *rate;//贷款利率
@property (nonatomic, copy)NSDate *payfirstDate;//第一次还款时间
@property (nonatomic, copy)NSDate *prepayDate;//提前还款时间

//计算结果
@property (nonatomic, copy)NSString *cloaned;//已还本金
@property (nonatomic, copy)NSString *crateed;//已还利息
@property (nonatomic, copy)NSString *cloan_remain;//剩余本金
@property (nonatomic, copy)NSString *crate_remain;//剩余利息
@property (nonatomic, copy)NSString *ctotal_remain;//剩余还款
@property (nonatomic, strong)NSArray *results;
- (void)beginCalculate;
@end
